SocketClient.setTlsValidationFlags

Sets the TLS validation flags used when creating TLS connections via @client. The default value is %G_TLS_CERTIFICATE_VALIDATE_ALL.

This function does not work as originally designed and is impossible to use correctly. See #GSocketClient:tls-validation-flags for more information.

More...
class SocketClient
void
setTlsValidationFlags

Parameters

flags GTlsCertificateFlags

the validation flags

Detailed Description

Deprecated: Do not attempt to ignore validation errors.

Meta

Since

2.28